<aside class="lyear-layout-sidebar">
    <!-- logo -->
    <div id="logo" class="sidebar-header">
      <a href="/admin/index/index"><img src="__STATIC__/admin/img/logo-sidebar.png" title="LightYear" alt="LightYear" /></a>
    </div>
    <input type="hidden" id="pick" value="{$pick}">
    <div class="lyear-layout-sidebar-scroll"> 
      <nav class="sidebar-main">
        <ul class="nav nav-drawer">
          <li class="nav-item nav-item-has-subnav">
            <a href="javascript:void(0)"><i class="mdi mdi-new-box"></i> 餐品管理</a>
            <ul class="nav nav-subnav">
              <li class="li_item4"><a href="/admin/food/food_list">餐品列表</a></li>
              <li class="li_item11"><a href="/admin/food/type_list">餐品类型</a></li>
            </ul>
          </li>
          <li class="nav-item nav-item-has-subnav">
            <a href="javascript:void(0)"><i class="mdi mdi-content-paste"></i> 订单管理</a>
            <ul class="nav nav-subnav">
              <li class="li_item5"><a href="/admin/order/order_list">订单列表</a></li>
            </ul>
          </li>
          <li class="nav-item nav-item-has-subnav">
            <a href="javascript:void(0)"><i class="mdi mdi-book-open-variant"></i>评论管理</a>
            <ul class="nav nav-subnav">
              <li class="li_item3"><a href="/admin/note/note_list">评论列表</a></li>
            </ul>
          </li>
        </ul>
      </nav>
    </div>
  </aside>
  <script type="text/javascript" src="__STATIC__/admin/js/jquery.min.js"></script>
  <style>
    .beblock{
      display: block;
    }
  </style>
  <script>
    $(window).ready(function(){
      var pick = $("#pick").val();
      $(".li_item"+pick).addClass('active');
      $(".li_item"+pick).parent('ul').addClass('beblock');
    });
  </script>